<div class="gonggaoliebiao" ng-controller="operateOtherNew">
    <div class="gonggaoliebiao_title">
        {{"shaixuantiaojian"|T}}：
        <div class="gonggaoliebiao_title_sfjj">
            <select class="" ng-model="params.pubCritical">
                <option label='{{"qingxuanze"|T}}' value="" selected="selected">{{"qingxuanze"|T}}</option>
                <option label="是紧急" value="true" >{{"Urgent"|T}}</option>
                <option label="非紧急" value="false">{{"NonEmergency"|T}}</option>
            </select>
        </div>
        <input type="text" placeholder='{{"PleaseEnterTheAnnouncementTitleContentAndPublisher"|T}}' class="gonggaoliebiao_chaxun" ng-model="params.pubSearch"
            ng-keyup="findlistbyEnter($event)"/>            
        <div class="gonggaoliebiao_shaixuan" ng-click="getList()">
            <i class="iconfont">&#xe621;</i>{{"querenshaixuan"|T}}</div>
        <div class="gonggaoliebiao_titleright">
            <div ng-click="distribution()">
                <i class="iconfont">&#xe7f7;</i>{{"Add"|T}}/{{"Edit"|T}}</div>
            <div ng-click="delinfo()">
                <i class="iconfont">&#xe606;</i>{{"Delete"|T}}</div>
        </div>
    </div>
	<div class="gonggaoliebiao_main">
	<ul>
        <!-- 表头部-->
		<li>
            <!--超级管理员表头-->    
            <div class="gonggaoliebiao_mainli">
                <div class="gonggaoliebiao_check">
					<div class="liebiaocheck-box" ng-click="checkall()" ng-class="{selected:selectAll==otherList.length && otherList.length != 0}">
                        <!--添加selected为选中样式-->
                        <span class="iconfont">&#xe67a;</span>
                    </div>
				</div>
                <div class="gonggaoliebiao_guanlizh" >{{"Publisher"|T}}</div>
                <div class="gonggaoliebiao_ggtitle">{{"AnnouncementHeading"|T}}</div>				
				<div class="gonggaoliebiao_beizhu">{{"ReleaseTime"|T}}</div>
				<div class="gonggaoliebiao_fzqys">{{"IsItUrgent"|T}}</div>
				<div class="gonggaoliebiao_fzqyname">{{"AnnouncementContent"|T}}</div>	
			</div>        
		</li>
        <!-- 表头部-->        
        <loading isloading="operateLoading"></loading>  
        <!-- 遍历数据 -->  
        <!--空值-->
        <li ng-if="otherList.length <= 0 && !operateLoading"> 
            <center>
                <img src="/images/null.png" /></center>
        </li>
		<li ng-repeat="item in otherList"  ng-click="checkSingle(item)">
            <div class="gonggaoliebiao_mainli personnelIMlinr">
                <div class="gonggaoliebiao_check">
                    <div class="liebiaocheck-box" ng-class="{'selected':item.isflag}">
                        <!--添加selected为选中样式-->
                        <span class="iconfont">&#xe67a;</span>
                    </div>
                </div>
                <div class="personnelIMxiugai"style="width:40px;">
                    <i class="iconfont" title='{{"Edit"|T}}' ng-click="distribution(item); $event.stopPropagation();">
                        &#xe633;</i>
                </div>
                <div class="gonggaoliebiao_guanlizh" ng-style="getAdminStyle()" style="overflow:inherit;"> 
                    <div class="gonggaoliebiao_guanlizh_name_left"  labelshow-directive="{{item.userid}}">
                        <img ng-src="{{item.user_img}}" src="/images/avatar.png" onerror="javascript:this.src='/images/avatar.png'" /></div>
                    <div class="gonggaoliebiao_guanlizh_name_right">
                        <div class="gonggaoliebiao_guanlizh_name_right_name" ng-bind="item.username">
                        </div>
                        <div class="gonggaoliebiao_guanlizh_name_right_email" ng-bind="item.user_Account">
                        </div>
                    </div>
                </div>
                <div class="gonggaoliebiao_ggtitle" ng-bind="item.pubTitle">
                </div>                
                <div class="gonggaoliebiao_beizhu">					
					<div class="gonggaoliebiao_item_time" ng-bind="item.pubDate | to_time"></div>
					<div class="gonggaoliebiao_item_date" ng-bind="item.pubDate | to_date"></div>
				</div>
                
                <div class="gonggaoliebiao_fzqys" ng-if="item.pubCritical == true" style="color:#6fc743">
                    <i class="iconfont">&#xe69d;</i> {{"Yes"|T}}
                </div>
                <div class="gonggaoliebiao_fzqys" ng-if="item.pubCritical == false" style="color:#fd5555">
                    <i class="iconfont">&#xe69d;</i> {{"Wrong"|T}}
                </div>
                <div class="gonggaoliebiao_fzqyname" ng-bind="item.pubContent">             
                </div>
            </div>
		</li>		
    </ul>
	</div>
    <tm-pagination conf="paginationConf"></tm-pagination>
    <!-- 分配企业 -->
    <operate-new-add-edit on-Save="saveOtherNewItem(otherNewItem)" config="configbtnjishiben" on-cancel="cancelOtherNewItem()" other-New="otherNewItem" ng-if="otherNewHide" is-save-btn="twoStageBtnLoad" know-chapter="knowChapter"></operate-new-add-edit>
</div>

